package com.zhl.spark.core.simple

/**
 * @program: demos
 * @description: ${description}
 * @author: 刘振华
 * @create: 2020-11-30 16:24
 **/
class SimpleTask extends Serializable {


    val datas = List(1,2,3,4)

    val logic : Int =>Int = _*2

    def compute() = {
        datas.map(logic)
    }

}
